<%@ page  contentType="text/html; charset=UTF-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="page" uri="http://www.forten.org/taglib/page"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<%@ taglib prefix="forten" uri="http://www.forten.org/taglib/forten"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>短信息编辑</title>
<!-- CSS -->
<link type="text/css" rel="stylesheet" href="../styles/css/reset.css">
<link type="text/css" rel="stylesheet" href="../styles/css/index.css">
<link type="text/css" rel="stylesheet" href="../styles/css/button.css">
<script type="text/javascript" src="../scripts/html5.js"></script>
<!-- end -->

</head>
<body onload="if(document.getElementById('msg').value=='')window.close();">
<c:if test="${! empty message}">

		<script >
			 var message = "${message}";
			 alert(message);
		 }
		</script>
	</c:if>
	<header>
	<div class="headerWrap"></div>
	</header>

	<div class="content">

		<section>

		<div class="rc_info mt20">
			<h3>
				<span class="r_title_ico"></span>短信信息
			</h3>
		</div>

		<form action="sendShortMessage.jspx" method="post" onsubmit="document.getElementById('btn').value='发送中 请稍候';document.getElementById('btn').disabled=true;">

			<table class="rc_tab01" cellspacing="0" cellpadding="0" >
				<tbody>
					<tr>
					<forten:token name="sendShortMessage"></forten:token>
					<td align="center">
					 <textarea rows="15" cols="130" name="msg" id="msg">${msg }</textarea>
					</td>
					</tr><tr><td align="center">
			<input id="btn" type="submit" value="发送" class="button" />
			</td></tr>
				</tbody>
			</table>
		</form>

		</section>
	</div>

<%@include file="/common/foot.jsp"%>